﻿using Abp.Domain.Entities;
using SportsPlatform.Enums;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SportsPlatform.Dto.SportBusiness.ProjectType
{
    /// <summary>
    /// 项目列表dto
    /// </summary>
    public class ProjectDto : Entity<Guid>
    {
        /// <summary>
        /// 项目名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 所属类别
        /// </summary>
        public string ProjectTypeName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 项目类别标识
        /// </summary>
        public Guid ProjectTypeId { get; set; }
    }

    /// <summary>
    /// 编辑比赛项目时选择项目类别列表
    /// </summary>
    public class GetProjectTypeListDto
    {
        /// <summary>
        /// 项目类别ID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 项目类别名称
        /// </summary>
        public string Name { get; set; }
    }


    /// <summary>
    /// 编辑比赛项目时选择项目列表
    /// </summary>
    public class GetProjectInfoDto
    {
        /// <summary>
        /// 项目ID
        /// </summary>
        public Guid Id { get; set; }

        /// <summary>
        /// 项目名称
        /// </summary>
        public string Name { get; set; }
    }
}
